package io.gitee.yeningx.example.controller;

import io.gitee.yeningx.tools.web.IgnoreWrapper;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@IgnoreWrapper
@RestController
@RequestMapping("/test2")
public class Hello2Controller {

    /**
     * 默认进行封装
     *
     * @return
     */
    @RequestMapping("/hello")
    public String hello() {
        return "test2/hello";
    }
}

